package com.WISSC.bean;

import com.baomidou.mybatisplus.extension.activerecord.Model;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * <p>
 * 学员图片关联表
 * </p>
 *
 * @author 冯政尚
 * @since 2019-05-05
 */
@ApiModel(value="StudentImage对象", description="学员图片关联表")
public class StudentImage extends Model<StudentImage> {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "id")
    @TableId("id")
    private Long id;

    @ApiModelProperty(value = "学员关联id")
    @TableField("student_id")
    private Long studentId;

    @ApiModelProperty(value = "图片路径")
    @TableField("image_url")
    private String imageUrl;

    @ApiModelProperty(value = "图片名称")
    @TableField("file_name")
    private String fileName;

    @ApiModelProperty(value = "科目选择")
    @TableField("subject")
    private Integer subject;

    @ApiModelProperty(value = "等级选择")
    @TableField("subject_level")
    private Integer subjectLevel;

    @ApiModelProperty(value = "证件编号")
    @TableField("id_no")
    private String idNo;

    @ApiModelProperty(value = "创建时间")
    @TableField("create_time")
    private Long createTime;

    public String getFileName() {
        return fileName;
    }

    public void setFileName(String fileName) {
        this.fileName = fileName;
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getStudentId() {
        return studentId;
    }

    public void setStudentId(Long studentId) {
        this.studentId = studentId;
    }

    public String getImageUrl() {
        return imageUrl;
    }

    public void setImageUrl(String imageUrl) {
        this.imageUrl = imageUrl;
    }

    public Integer getSubject() {
        return subject;
    }

    public void setSubject(Integer subject) {
        this.subject = subject;
    }

    public Integer getSubjectLevel() {
        return subjectLevel;
    }

    public void setSubjectLevel(Integer subjectLevel) {
        this.subjectLevel = subjectLevel;
    }

    public String getIdNo() {
        return idNo;
    }

    public void setIdNo(String idNo) {
        this.idNo = idNo;
    }

    public Long getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Long createTime) {
        this.createTime = createTime;
    }

    @Override
    public String toString() {
        return "StudentImage{" +
                "id=" + id +
                ", studentId=" + studentId +
                ", imageUrl='" + imageUrl + '\'' +
                ", subject=" + subject +
                ", subjectLevel=" + subjectLevel +
                ", idNo=" + idNo +
                ", createTime=" + createTime +
                '}';
    }
}
